package com.mjw.farm.service;

import com.mjw.farm.entity.Purchase;
import com.mjw.farm.model.MyPurchase;

import java.util.List;

public interface PurchaseService {

    void add(Purchase purchase);

    List<MyPurchase> selectByPurchaseType();

    Purchase selectNewPurchaseId(String ownName);

}
